import React, { memo } from "react";
import RenderRoutes from "@/router/renderRoutes";
import { Adminpagewrap } from "./style";

import Leftmenu from "./leftmenu";
export default memo(function Adminpage(props) {
  return (
    <Adminpagewrap>
      <Leftmenu></Leftmenu>
      <div className="right">{RenderRoutes(props.route)}</div>
    </Adminpagewrap>
  );
});
